package com.woniu.lottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author mane
 * @since 2025-04-13
 */
@Getter
@Setter
  @TableName("lottery_record")
@ApiModel(value = "LotteryRecord对象", description = "")
public class LotteryRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    private Long userId;

    private Long activityId;

    private Long prizeId;

      @ApiModelProperty("0-未中奖 1-中奖")
      private Integer result;

    private LocalDateTime createdAt;


}
